package com.bjpowernode.crm.workbench.mapper;

import com.bjpowernode.crm.workbench.domain.Tran;

import java.util.List;

public interface TranMapper {

    int updateByPrimaryKey(Tran record);

    int insert(Tran record);
    //增加
    int insertSelective(Tran record);
    //删除
    int deleteByPrimaryKey(String id);
    //修改
    int updateByPrimaryKeySelective(Tran record);
    //根据主键查询
    Tran selectByPrimaryKey(String id);
    //有条件查询全部
    List<Tran> selectAllByCondition(Tran tran);
    //根据主键查询详情
    Tran selectByPrimaryKeyForDetails(String id);
}